#System.Guid
 $guid = [GUID]::NewGUID()
  Foreach ($format in "N","D","B","P") {
    "GUID with $format : {0}" -f $GUID.ToString($format)
  }